package com.probiz.estore.system.service;

import java.util.List;

import com.probiz.estore.common.model.system.SelfCollectionCentre;
import com.probiz.estore.core.service.GenericManager;

/**
 * Manager interface for SelfCollectionCentre, responsible for business processing, and communicate between web and persistence layer.
 *
 */
public interface SelfCollectionCentreManager extends GenericManager<SelfCollectionCentre> {
	/**
	 * 获得所有激活的自提点
	 * @return
	 */
	public List<SelfCollectionCentre> findActiveSelfCollectionCentres();
	/**
	 * 判断是否存在同名的自提点
	 * @param selfCollectionCentre
	 * @return
	 */
	public boolean isExistedSelfCollectionCentre(final SelfCollectionCentre selfCollectionCentre);
	/**
	 * 判断是否已存在此自提点
	 * @param selfCollectionCentre
	 * @return
	 */
	public boolean isExistedSelfCollectionCentreForUpdate(final SelfCollectionCentre selfCollectionCentre);
	
	/**
	 * 获得地区的提货中心
	 * @param regionId
	 * @return
	 */
	public List<SelfCollectionCentre> getSelfCollectionCentreListByRegionId(Integer regionId);
}
